package com.pojoin.cms.domain.alter;

import java.util.HashSet;
import java.util.Set;

import com.pojoin.cms.domain.Role;
import com.pojoin.cms.domain.User;

public abstract class UserAlter implements User {
	
	protected Long userId;
	protected Integer deleted;
	protected String email;
	protected String userName;
	protected String password;
	protected String nickName;
	protected String remark;
	protected Set<Role> roles = new HashSet<Role>(0);
	

	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public Integer getDeleted() {
		return this.deleted;
	}

	@Override
	public String getEmail() {
		return this.email;
	}

	@Override
	public String getUserName() {
		return this.userName;
	}

	@Override
	public String getNickName() {
		return this.nickName;
	}

	@Override
	public String getPassword() {
		return this.password;
	}

	@Override
	public String getRemark() {
		return this.remark;
	}

	@Override
	public Set<Role> getRoles() {
		return this.roles;
	}

	@Override
	public Long getUserId() {
		return this.userId;
	}

	public void setDeleted(Integer deleted) {
		this.deleted = deleted;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public void setNickName(String nickName) {
		this.nickName = nickName;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public void setRoles(Set<Role> roles) {
		this.roles = roles;
	}

}
